package edu.ctbu.insurance.service;

import edu.ctbu.insurance.bean.Policy;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.HashMap;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author djl
 * @since 2024-06-28
 */
public interface PolicyService extends IService<Policy> {
    public List<Policy> findPolicysByLike(String likeProductName,String likeCustomerName,String likePolicyType);

    List<Policy> findPolicysPageByLike(String likePolicyType, int pageNum, int pageSize, String likeProductName, String likeCustomerName);

    int updatePolicyStatus();

    List<Object> getProductStatistics();

    List<Object> getCustomerStatistics();

    List<Object> getAddressStatistics();
}
